$ () ->
	$('.create_btn').click (e) ->
		param = 
			weight_section: $("#weight_section").val()
			bmi_section: $("#bmi_section").val()
			age_section: $("#age_section").val()

		$.post "/api/admin/set/update", param, (res) ->
			if res.status.errCode is 0
				alert "修改成功"
			else
				alert res.status.message